<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Carte mère: Référence du fichier src/config.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<h1>Référence du fichier src/config.h</h1>  </div>
</div>
<div class="contents">

<p><a href="config_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ab56763f3cde91239b3b2f1e84a8730ae">QUADRIROTOR</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Quadrirotor.  <a href="#ab56763f3cde91239b3b2f1e84a8730ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ab84901ce02348a12f77dd24675a9aee8">MULET_POLY</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mulet en polystyrène Twinstar II.  <a href="#ab84901ce02348a12f77dd24675a9aee8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ac20d62410c4f5b77dbfa46936accd056">PLANEUR</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moto-planeur MIQ.  <a href="#ac20d62410c4f5b77dbfa46936accd056"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a75876a04eb1a1353c21eade9390cb6d7">TYPE_DRONE</a>&#160;&#160;&#160;QUADRIROTOR</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Définit le type de drone pour lequel le programme est compilé  <a href="#a75876a04eb1a1353c21eade9390cb6d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a652f732918751d421cd00672fbcf34e6">ENABLE_IMU</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active la centrale inertielle (1 = Activer)  <a href="#a652f732918751d421cd00672fbcf34e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a422aa6caf03f6f596eeeb4bf39b3cf31">ENABLE_XBEE</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active la communication par XBee (1 = Activer)  <a href="#a422aa6caf03f6f596eeeb4bf39b3cf31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a62b74a1fd7e0654296beb317825b472d">ENABLE_CAPTEURS</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active la réception de données de la carte capteurs (1 = Activer)  <a href="#a62b74a1fd7e0654296beb317825b472d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a51a8f95d2f091999be5743fba5266756">SUIVI_AUTO</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active le suivi GPS autonome.  <a href="#a51a8f95d2f091999be5743fba5266756"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a432138093c53d7580af9ec5c5dca387f">ENABLE_DEBUG</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active les fonctionnalités de débogage (sortie texte par XBee) (1 = Activer)  <a href="#a432138093c53d7580af9ec5c5dca387f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aff1662e14a01fca0be9aa363ea8a51bc">ENABLE_PPM</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Active la génération PPM sur les broches OCxRS (1 = Activer)  <a href="#aff1662e14a01fca0be9aa363ea8a51bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a14e45fc99e497e6c82a9223e2ada4ff5">DSP_FOSC</a>&#160;&#160;&#160;7372800</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fréquence du quartz de la carte mère.  <a href="#a14e45fc99e497e6c82a9223e2ada4ff5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aad85f9592cab5c232155b7db0f2582b1">DSP_PLL</a>&#160;&#160;&#160;16</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Diviseur de la PLL.  <a href="#aad85f9592cab5c232155b7db0f2582b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ae2872baf728976c31a00c4fa1b7dbc9a">DSP_U1BAUD</a>&#160;&#160;&#160;115200</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Baudrate de l'UART1, utilisé pour la communication par XBee.  <a href="#ae2872baf728976c31a00c4fa1b7dbc9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a3de00734e134008116cf156b99a08b43">DSP_U2BAUD</a>&#160;&#160;&#160;115200</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Baudrate de l'UART2, utilisé pour la centrale inertielle.  <a href="#a3de00734e134008116cf156b99a08b43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aef0d1691c131d175250f95336b478397">LEDR1</a>&#160;&#160;&#160;(LATAbits.LATA12)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commande de la LED rouge n°1.  <a href="#aef0d1691c131d175250f95336b478397"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#adca3c0853cd1ce049692c31142d23fe6">LEDR2</a>&#160;&#160;&#160;(LATAbits.LATA13)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commande de la LED rouge n°2.  <a href="#adca3c0853cd1ce049692c31142d23fe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aba1a3017a64be7f581b972d8c3187f09">LEDV1</a>&#160;&#160;&#160;(LATBbits.LATB5)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commande de la LED verte n°1.  <a href="#aba1a3017a64be7f581b972d8c3187f09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a4c41493caec588a705e30a3a2cc9f265">LEDV2</a>&#160;&#160;&#160;(LATBbits.LATB4)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commande de la LED verte n°2.  <a href="#a4c41493caec588a705e30a3a2cc9f265"></a><br/></td></tr>
</table>
<hr/><h2>Documentation des macros</h2>
<a class="anchor" id="a14e45fc99e497e6c82a9223e2ada4ff5"></a><!-- doxytag: member="config.h::DSP_FOSC" ref="a14e45fc99e497e6c82a9223e2ada4ff5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSP_FOSC&#160;&#160;&#160;7372800</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fréquence du quartz de la carte mère. </p>

</div>
</div>
<a class="anchor" id="aad85f9592cab5c232155b7db0f2582b1"></a><!-- doxytag: member="config.h::DSP_PLL" ref="aad85f9592cab5c232155b7db0f2582b1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSP_PLL&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Diviseur de la PLL. </p>

</div>
</div>
<a class="anchor" id="ae2872baf728976c31a00c4fa1b7dbc9a"></a><!-- doxytag: member="config.h::DSP_U1BAUD" ref="ae2872baf728976c31a00c4fa1b7dbc9a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSP_U1BAUD&#160;&#160;&#160;115200</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Baudrate de l'UART1, utilisé pour la communication par XBee. </p>

</div>
</div>
<a class="anchor" id="a3de00734e134008116cf156b99a08b43"></a><!-- doxytag: member="config.h::DSP_U2BAUD" ref="a3de00734e134008116cf156b99a08b43" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSP_U2BAUD&#160;&#160;&#160;115200</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Baudrate de l'UART2, utilisé pour la centrale inertielle. </p>

</div>
</div>
<a class="anchor" id="a62b74a1fd7e0654296beb317825b472d"></a><!-- doxytag: member="config.h::ENABLE_CAPTEURS" ref="a62b74a1fd7e0654296beb317825b472d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENABLE_CAPTEURS&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active la réception de données de la carte capteurs (1 = Activer) </p>

</div>
</div>
<a class="anchor" id="a432138093c53d7580af9ec5c5dca387f"></a><!-- doxytag: member="config.h::ENABLE_DEBUG" ref="a432138093c53d7580af9ec5c5dca387f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENABLE_DEBUG&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active les fonctionnalités de débogage (sortie texte par XBee) (1 = Activer) </p>

</div>
</div>
<a class="anchor" id="a652f732918751d421cd00672fbcf34e6"></a><!-- doxytag: member="config.h::ENABLE_IMU" ref="a652f732918751d421cd00672fbcf34e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENABLE_IMU&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active la centrale inertielle (1 = Activer) </p>

</div>
</div>
<a class="anchor" id="aff1662e14a01fca0be9aa363ea8a51bc"></a><!-- doxytag: member="config.h::ENABLE_PPM" ref="aff1662e14a01fca0be9aa363ea8a51bc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENABLE_PPM&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active la génération PPM sur les broches OCxRS (1 = Activer) </p>

</div>
</div>
<a class="anchor" id="a422aa6caf03f6f596eeeb4bf39b3cf31"></a><!-- doxytag: member="config.h::ENABLE_XBEE" ref="a422aa6caf03f6f596eeeb4bf39b3cf31" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENABLE_XBEE&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active la communication par XBee (1 = Activer) </p>

</div>
</div>
<a class="anchor" id="aef0d1691c131d175250f95336b478397"></a><!-- doxytag: member="config.h::LEDR1" ref="aef0d1691c131d175250f95336b478397" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LEDR1&#160;&#160;&#160;(LATAbits.LATA12)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commande de la LED rouge n°1. </p>

</div>
</div>
<a class="anchor" id="adca3c0853cd1ce049692c31142d23fe6"></a><!-- doxytag: member="config.h::LEDR2" ref="adca3c0853cd1ce049692c31142d23fe6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LEDR2&#160;&#160;&#160;(LATAbits.LATA13)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commande de la LED rouge n°2. </p>

</div>
</div>
<a class="anchor" id="aba1a3017a64be7f581b972d8c3187f09"></a><!-- doxytag: member="config.h::LEDV1" ref="aba1a3017a64be7f581b972d8c3187f09" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LEDV1&#160;&#160;&#160;(LATBbits.LATB5)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commande de la LED verte n°1. </p>

</div>
</div>
<a class="anchor" id="a4c41493caec588a705e30a3a2cc9f265"></a><!-- doxytag: member="config.h::LEDV2" ref="a4c41493caec588a705e30a3a2cc9f265" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LEDV2&#160;&#160;&#160;(LATBbits.LATB4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commande de la LED verte n°2. </p>

</div>
</div>
<a class="anchor" id="ab84901ce02348a12f77dd24675a9aee8"></a><!-- doxytag: member="config.h::MULET_POLY" ref="ab84901ce02348a12f77dd24675a9aee8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MULET_POLY&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mulet en polystyrène Twinstar II. </p>

</div>
</div>
<a class="anchor" id="ac20d62410c4f5b77dbfa46936accd056"></a><!-- doxytag: member="config.h::PLANEUR" ref="ac20d62410c4f5b77dbfa46936accd056" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PLANEUR&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moto-planeur MIQ. </p>

</div>
</div>
<a class="anchor" id="ab56763f3cde91239b3b2f1e84a8730ae"></a><!-- doxytag: member="config.h::QUADRIROTOR" ref="ab56763f3cde91239b3b2f1e84a8730ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QUADRIROTOR&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Quadrirotor. </p>

</div>
</div>
<a class="anchor" id="a51a8f95d2f091999be5743fba5266756"></a><!-- doxytag: member="config.h::SUIVI_AUTO" ref="a51a8f95d2f091999be5743fba5266756" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SUIVI_AUTO&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Active le suivi GPS autonome. </p>

</div>
</div>
<a class="anchor" id="a75876a04eb1a1353c21eade9390cb6d7"></a><!-- doxytag: member="config.h::TYPE_DRONE" ref="a75876a04eb1a1353c21eade9390cb6d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TYPE_DRONE&#160;&#160;&#160;QUADRIROTOR</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définit le type de drone pour lequel le programme est compilé </p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Généré le Wed Jan 5 2011 17:04:29 pour Carte mère par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
